package com.macro.mall.portal.dto;


import com.alibaba.fastjson.annotation.JSONField;
import com.macro.mall.model.UmsMemberReceiveAddress;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 用户个人中心返回前台参数
 * @author 高强
 * @Date 2020年9月2日
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UmsMemberDto {

    @ApiModelProperty(value = "用户id")
    private Long id;
    @ApiModelProperty(value = "头像")
    private String icon;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "性别：0->未知；1->男；2->女")
    private Integer gender;

    @ApiModelProperty(value = "手机号码")
    private String phone;

    @ApiModelProperty(value = "种植作物")
    private String growPlants;

    @ApiModelProperty(value = "会员非会员")
    private String memberLevel;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "会员结束时间")
    private Date memberLevelEndTime;

    @ApiModelProperty(value = "积分")
    private Integer integration;
}
